﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Showroom.DAL;

namespace Showroom.BLL
{
    public class View_Products : _View_Products
    {
        public static View_Products GetByProductID(int ID)
        {
            try
            {
                View_Products prod = new View_Products();
                prod.Where.ID.Value = ID;
                prod.Query.Load();
                return prod;
            }
            catch (Exception ex)
            {
                throw (ex);
            }
        }
    }
}
